#ifndef _SYNC_START_H__
#define _SYNC_START_H__

#include "../complib/libtsmp/include/tsmp_api.h"
#include "../complib/libtsninsight/include/tsninsight.h"




#define PTP_EXE_PATH "../ptp"
#define PTP_EXE_SHELL_FILENAME "startup_file_ptp.sh"


#define SYN_OK_ENABLE 		 		 0x80000005			//RC使能及SYN_OK使能	置为1
#define RC_ENABLE 		 		     0x00000001			//RC使能	置为1

#define CC_WAITTIME 		 		 0x3b9aca00			//同步时间基准在当前时间往后延迟时间，单位ns
#define ST_ENABLE 		 		 0x00000003			//ST、RC使能




int sync_start(u8 *network_inetrface,node_mid_table* table,int tsn_type,u32 sync_mode);


#endif


